package com.defines.ming.demo.dao;

import com.defines.ming.demo.model.ExpenseHeader;
import com.defines.ming.demo.model.ExpenseLine;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ExpenseDao {
    void insertExpenseHeader(ExpenseHeader header);
    void insertExpenseLine(ExpenseLine line);
    List<ExpenseHeader> getMyPendingList(String employeeCode);
    void commitExpense(String expenseNum,String status,String approveNode);
    List<ExpenseHeader> getExpenseInstance(String expenseNum);
}
